Added config file and moved some constants