Class loading optimised. Fixed bug in git ignore