Now using class constants.
Added view loader.