Refactored card addition code so that the RestApiServlet.scala function didn't have to handle neo4j nodes