Refactored blasr core common into a library