Added effects package and associated tests