Added work in progress section
New file that manages everything related to @sourcefiles
Removed ugly if/else and replaced with dispatch table and moved stuff to functions