Fixed minor bugs. Added category and safe parameters.
Added base Sphinx files.
Added support for RTD theme.