Purged many unnecessary string and vector copies;
Tweaked some function prototypes now with const usage;
Took autotools away again;
Cleared many warnings