moved core constants to new file