Added configuration file parsing to a new file.
Added support for intermediate object files.

Copying only needed files for openwrt.
Now using config.c for configuration parsing.
Removed unused includes.
Moved variables to inside blocks.