Refactored into properly named methods.

I did this because it will aid in making this plugin more maintainable as well
as making it more easily consumed by others.
Documented the plugin in the README.md

I did this so that people would actually be able to use it without having to
dig into the plugin vimscript.