More work on permalink. Now working for JSON_beautifier.
Created core controller class also.