Add gitignore; fix references; remove built files