Adding REST methods & changing the URLs (GET all, GET random, GET word, POST flashcard)