add gitignore
fix some compile errors + adding registers and first tests