Added constructors to controllers