[REFACTOR] Making the executables being able to function as modules.