Refactored specs.
Merge branch 'master' of https://github.com/ualbertalib/DMPonline_v4