Added KeyNotDefinedException
Got rid of extra newline before namespace declaration
Added DependencyInjector