Fix indentation, compilation warnings and add a readme + makefile