move libraries to a separate file