Added basic library files

Added basic library functionality with example on how to use the
library.