Major Refactoring

Created a Grid and Rod .js files.  Added jasmine tests and specs.