Split tinylog and demo into two files