Add licensing info and some design notes.