Rewrote orm to use attributes and added foreign keys. Created data base structure and filled raw information
for base generator.