[ADD] Create a miiilib package to contain source code for sharing.