all: splitted hwaf into cmd+pkg. created a hwaflib.Context