added loading config support

Signed-off-by: dvorkinista <villain@noironetworks.com>