- add "config" table for Lua scripts with all the options from bnetd.conf
- all Lua functions are in "api" lib
- extract Lua functions, and objects into different cpp files