Added JavaDoc for everything. This closes #7.
Added the context for the system. This enhances modularization of the application to some extent.