Added the Contract configuration class and moved all constants into there. Refactored everything to account for the changes