initial commit

Still working to get a functional model on postgresql