updated input.c, working on logging, user prompt, added structure