refactored build system

*   handle ui components from external libraries