Fix server script

Import api modules from public API