creates schema and model on db connection once