Added basic ORM

Not meshed into web yet