add Init, determine input output routine.
add Global, global varibles will be stored in.
next to determine basic data structure and file format.