Moved some files around

Followed suit of some other projects and reorganized files into
some other directories.  Also added require.js as a dependency.