Creates a base controller class. Fix #14