Port backbone/deep-models internal methods
Add tests
Fix license info to conform to upstream license
Initial release: v0.0.1