updated ts references files to order js output. Still having problem registering controllers.