started reading input files
Added State class