cleaned up somemore and added Makefiles and .gitignore where appropriate