Fixing broken assertions
Basic hal rendering
Added todo