Seperating example and library