improve usage function, add man page