Did some refactoring

Plugin is working properly and users can access google hangout