Revert "Refactor and small enhancements"

This reverts commit 06e149fc96852308622b66d8a614f6fff2de4938.
Remove all files to rebase commit #99
Copy all files from commit #99
Set all DEBUG compiler options
Set FFVIPER DEBUG options
Fix compiler+linker options and associated errors
Fix more warnings due to compiler+linker options
Set RELEASE compiler+linker options
Fix RELEASE compiler+linker options and errors
Merge pull request #38 from dannycoh/develop

Fix all compiler and linker options for DEBUG+RELEASE with all errors and warnings