modular

created module, and referenced from main