Working implementation of getInfo
Fix formatting and naming issues