refactor the sources

- run grunt to create one file to include
- move the sources so we can reuse it as a library in other apps