Restructure project to: lib and samples.