changed the entry point to index.php
added group table