Add parse class. Add methods and partial implementation to Calculate source.