nim server now has all its structure