added a defineController function call, added variables to the Aleph namespace to be set depending on the host platform
added 3 conditional statements for linux, osx and windows to facilitate setting the script directories