#3: Added groups controller. Added tests.