Controller and Entity Controller refactor

Additionally, all files have been converted to Unix line endings, and the addition of the util/construct module for `.apply()`ing arguments to constructors.