loudStack backend: clean up code