Adjust classes to psr0 & other fixes
Basic Api implementation
Merge branch 'vt_api' into devel