Added ORM support

Added orm resources to dll library.
Added timer.
Fixed generated files format.
Updated thesis.