Added view factory interface
Added service factory interface
Added invalid service exception
Fixed namespace
Added service factory