Added basic lib

Change-Id: Id130ae407769d0670a2172b6df5f20eb61eaed8c