adds lib directory, automatically requires files in lib