add parse_json_body
implement some views
refactoring