Nitpicky stuff

Standardized layout, whitespace, indentations. Removed tabs in favor of four spaces. Properly encapsulated variables and added getter methods.
Add back name to plugin.yml, wasn't intended to be removed.
Merge pull request #9 from h31ix/master

Nity picks