Adding core library