Add main yield function and specs
remove unused files, modify gitignore