fixed environment issues (wkhtmltopdf)
plugin refactor
Added security check
fixed routing for sub-post
Added stylesheets