Converted some constants into configuration and started debugging networking.