remove unused code, fix readme, fix release build