clean: move callbacks out from routes into separate file, cleaner