One can more easily understand the Metasploit Architecture by taking a look under its hood. In learning how to use Metasploit, take some time to make yourself familiar with its filesystem and libraries.
The MSF filesystem is laid out in an intuitive manner and is organized by directory.
The MSF libraries help us to run our exploits without having to write additional code for rudimentary tasks, such as HTTP requests or encoding of payloads.
Throughout this course we will touch upon how to use other tools directly within Metasploit. Understanding how things are stored and relate to the Metasploit file system will help you in using the msfconsole and its other command line interfaces.