Proper logging, moved main method to hospital administrator