groups controller skeleton + some db changes