Initial commit of code and libraries