Some adjustments to get angular routing working and to break
controllers into separate files.