Move library code to chototsu/MikuMikuStudio