started config file and main Inpt class, added some scanning functions