Group dashboard

Added group dashboard plus fixed and refactored several other things. Sorry for the huge pull request :(