move locations, add a lib file