add apache license
Move previous sketch into this project.