updated
pspec parser removed from Period constructor

Take the logic off constructor. I didn't agree with that, so let me try
it out. A new function period was created to receive the pspec string
and parse it, but the work haven't finished yet.