use GetOpt & reorganize
add makefile