Import functions
Fix copyright
Add license to README