Reorganization of files.
Started converting Javascript to module pattern.