Nicer dev environment

Added set of commits includes some stuff that I have accumulated that helps me with the development. I hope the descriptions are understandable. Feel free to ask question, review etc.