Rename files and update references
Move common services to a services directory
Add use strict declarations
Refactor a few function names to be less cryptic