Subs class
Fixes and wrappers for Subs
Tests for Subs and more subs methods
Merge pull request #336 from isuruf/subs

Subs class