moving generalized controller scripts and functions to controller folder
applicationCache script. Fixes #36