modularize functions.rb
change parse.rb to use lib/kdb.rb