added games controller and math flashcard js game