parse input logic
find_delim added
opt parsing added
input command parsing added