updated lib/config

- merged config loaders into single file
- moved builder into lib/engine directory