Code cleanup to move rest route handlers to error and map. Cleanup
projects rest service. Some package and file renaming.