Add GPLv2 license. Switch all files to markdown. Change ui functions to fit with others.