Enhanced capsule factory to contain all attributes
Added uniqueness validation on Capsule title