added c++ check in config
added memmgmt and refactored core string tools
updated init methods for logger and string