setup first app and db