added .gitignore, remove unneeded files and specifications, reworked some code (tested on arm64)