Added Contract abstract class, methods and stuff, hi owen.