Fixed wrong controller reference
Sort template references by name & fixed basedir issue