Added flask restful backend.
Updated .gitignore.
Made the client restful.