added local plugin cache + restructurings