Added constants file, fixed interaction with main page issue