Add lhttpc
Configure REST api endpoint
Remove superflous clauses
Allow building queries without end_time
Draft REST API wrapper (WIP)