Added repl representations
added database connection
Added repl and exposition in app