add package.json
move client into public dir
add simple express server
persist flashcards in mongodb