Better docs, change code formatting to spaces