* Add API scopes
* Add API scopes
* Add API scopes
* Add API scopes
* Add API scopes
* Add API scopes
* Add API scopes
* Add API scopes
* Remove system memory limit (#986)
* Add session_id, make token size more reasonable (#983)
* Add session_id, make token size more reasonable
* Use more direct approach
* Fix more stuff
* Fix ignore comments
* Fix naming
* Fix lint
* Introduce API scelleton
* Raw impl for session
* Simple state endpoint
* Apply _body naming
* Finalize session testing and comment out tons of useless code
* Clean and refactor part1
* Clean and refactor part2
* Clean and refactor part2
* Clean and refactor part2
* Clean and refactor part2
* Refactor middleware
* Refactor middleware
* Clean and refactor part3
* TDD and 2 beers
* TDD and 2 beers
* Complete state endpoints
* You can only set what is already present
* Use only JSON as response
* Use default logger
* Improve auth extraction
* Extend api command with more args
* Adjust API messages