Creating library and demo file