feature(main) rm DIR, require, etc