Right now, the code is somewhat messy. All modules expect index.coffee should be moved into the app-folder. The neural network code should be moved into a separate module, and the index should handle command line arguments and perform either training or testing based on input.
The code also needs more documentation.