Change lhs.key
lhs.backend: gather statistics
Frontend: Add simple JSON API

For now it's mainly targeted at completing stuff