change demo to example + add separate folder for lib