Started Image class
Simplified constructor
Added optional domain name for context setup
Added session setter
Improved template file check
Added Context unit tests
Fixed home path removing double slashes