Working on cleaning up the code structure.
Added facility for allocating memory within the solver.
Added documentation to the app.
Changed the DCP interface to make more sense.