added plans initializer
moved syncing of plans to Plan class method