Added tile rendering, started input