adding app code and database sql file