Add Data Definition and gitignore

-Add primary key constraints
-Add references constraints and on delete cascades
-.gitignore filters .class binary files