reorganize dir structure, add license and readme docs