Added basic index and the lib