Initial commit
moved to package
renamed functions
added LICENSE