Initial commit of libsquad library and core.