Updated architecture to new schema and added requirements.txt