CHECKPOINT D - skeleton FitPA ready for database integration with functional SQL script