Establishing database schema and python files