More progress on speed layer API, including code-complete ALS implementation