Changed the way operations are represented. Implemented new operations.