See
How should I structure server modules used in VLF-ONE applications?