finally fixed formatting issues
improved file structure
refactored a lot of stuff, and added a web ui for the plugin