The source code for Pilot-DB is distributed for that purpose. You may modify it as you wish; only the redistribution of your modifications is subject to restrictions.