Worked on ORM aspect code

Copied over Session class, but will need to change it along with the
ORMAspect code.