separating things into lib
providing instructions on the last missing piece to make this work