session class
make entry points use controller classes