basic structure of package

start of conversion to package