setup database, initial app, settings structure and details.