Better config path resolve, added predefined constants
tons of eval() bugfixes