Fixed some bugs. Created init file with default WP options, separatedly from the core file. TODO add a working check to triggers a flush after WP install