remove generated files
remove index file
update to use internal modules