Updates api
Updates api, linter show errors correctly
Update commands file, remove some obsolete code
Update ap
Non-blocking push, maybe
Runs on own thread