improve makefile

add 'mkdir obj' to make sure project ready to make at checkout
add new code

Handler complete.
type almost complete & ready to compile