Starting documentation and clean up, removed dependency on templating engine (swig)