Added module base file.
Accepting subject as function or object.