Refactor onEnable method
Move configuration to it's own class