cleanups and add running-average function
add newest package