added some sqlalchemy
reorganized files