implemented first stages of input reading. comments and regular key=value inputs.