Basic implementation of Router andController classes