updated readme, added source code