add apache license, format readme