Initial class coding, based on class diagram.