bug fixes, added license and readme