# How to add a module?

  1. Open .ksmile file, define the module under the respective section (either under an existing section or by defining a new section)

  2. To define a module you need the following:

    1. module type (data-module | mongo-module | domain-module etc.)

    2. module name (unique to a project)

    3. dependent module list (if any)

    4. module package path (unique to a section)

      data-module LotteryData at com.metastay.lottery
      
  3. Enter sbt shell, run command smile

  4. Refresh project in eclipse, respective .k file will appear.