Implemented create method and added specs to HttpMethod
Added method put_path_param to Endpoint
re-implemented compile and removed get_param method