adding levelDB for storage and initial REST API