Rearranged and improved input file as well as check for existance of input in inout.f90