Added full parameter checking to 'logparse', renamed libs and added a few functions