Updated Period setClass call and created constructors. Issue #21