got basics of backend working for db connection and layout