enable logging switch on events
remove analytics replace with submodule
add analytics as submodule