Properly initialize structs
(initialization of char arrays was incorrect),
move info printing to function.