added directory loader for controllers