Added public functions to header and added comment descriptions to source