remove dependency on sys; add copyright

Remove dependency on sys and add copyright
Merge pull request #9 from alvinlschua/master

remove dependency on sys; add copyright