re-order module loading order, closes #272

re-order module loading order, closes #272