added code; proper README with license