fixed BASE_URL replacing
added html compiled directory
added plugin system