interface refatoring
creating lib folder and osd file