Initial commit of matrix pkg