Refactoring

Complete restructuring. Now this is a proper gem. Simple installation for users.