code cleanup, hooked static init to plugins_loaded
final clean up
code clean up
moved maintainable parts completely over to PHP
updated to latest version number and stable tag of current WP version
Merge pull request #1 from franz-josef-kaiser/master

code styles, readability & maintainability. Props @franz-josef-kaiser