Rewriting the code is too much work, revert to the messy one and clean it up later
Cleanup part 1:
- Remove Linux-code
- snprintf to sprintf_s
- Remove duplicate code
- Switch namespace for shorter function names

Signed-off-by: Darkrulerz <Dark_rulerz@hotmail.com>
Commit last attempts before switching to Java (For backup purpose)
Remove prebuilt example in advance