title: How to Declare Modules in java 9
body: <p>I want to use java 9 modules in my project. I want to put my data and service classes (in package named <code>com.test.base</code>) in one module named (Base), and put other things like main class and GUI (in package named <code>com.test.main</code>) in another module named (Main).</p>
  
  <ul>
  <li>How to declare simple module (Base)?</li>
  <li>How to declare module (Main) with dependency of (Base) module?</li>
  <li><p>I also want to use (Base) module with reflection.</p></li>
  <li><p>Assume my root package is <code>com.test</code> so what directory structure should I use for these modules?</p></li>
  </ul>