Removed ActivationRecord related classes and changed execution code a bit.