Removed unused stuff, lua & ssl sources, reorganized targets.
Squashed warnings