Support for additional modules and logrotation. 

- Added support for additional-modules compilation in source. 
- Support for logrotation.