refactor config.jl, need to move constants into an internal module