Fix group test that uses hard coded date for activation date when no date is passed. submitted on date now also must be catered for.
fix failing integrated test around groups.
first draft of system architecture documentation.