added base class for ViewController

I need to keep working harder than ever before now and keep improving.