Refactored general library into blog namespace

- Refactored general library into blog namespace
- Refactored option parsing
- Added versioning
Refactored command line strings and publish functions
Added some stuff

- Relative path template.
- Polished command line options.
- Polished modules code.