rearranging the furniture

putting code in top level of repo