Reorganized folder structure.
Bugfixes surrounded code re-org.
Added 'done' event that is triggered after all targets have been built.