add parse function, still need modify
add parse function to main and FDTD function