Added composer to index.php
made the front file a bit more dry
quick update