Move the main activity over to the subclass

If there is an activities subclass, then the MainActivity class should
be a part of it. Simple as that.