Move Localytics into its own module