Move file around - Create classes in order to divide plugin functionalities

Hi Mikael,

I've rearranged the plugin files in a sort of MVC way so that things are more separated and we can work in different files and the like. If you think I should change something, just tell me or if you don't think it's appropriate to use this MVC pattern, we can keep the original design.