removed 'map' variable
Separated templates into their own file
make a.g() an alias for a.generateApplications()
comments added, buildDictionary-->buildHash, buildHash refactored