Create a MainActivity for testing.
ContextCore implements Serializable to be sent to an activity.
Change WifiModule from Activity to Service