Thanks Adam for the prompt response;I was following the process of importing modules as described in TDPL and Ali's book and they both claim that "By default, the name of a module is the same as its filename without the .d" and continue on to describe how the compiler searches for modules. So my question was not really how to make it work, rather what exactly is wrong with my code.
Thanks again!