Setting up app template and database structure