Reformatting source: e.g. tab to spaces
Added some basic event