move login out of init
update wkhtmltopdf binary
add get_version and restructure