Code cleaning

Here goes some cleaning and a new ignore rule that makes pushing to the repo a bit more comfortable.