Moved classes to two packages: chains and chainables.