add library file.
add specification on README.
update README for proper rdoc format.
add bin and lib file.
add vim set syntax highlighting format to ruby
complete main functions.