Broke out get_sampleRate into separate file.

- Converted loader to encapsulated AMD module.
- Broke out get_sampleRate into separate utils folder and camelCased.