added config parsing, db conn creation, models from db incoming