Completed doing the main RequireJS modules
Added component.js to handle specific behaiviour like drawing and collision.