Moved some variables from Constants to MainHub