Change naming of hostname to hostName to be consistent. Fixes #27