Feature:
 Add automatic cache clear mode
 Add different logging modes
 Add disabled mode to use api only

Breaking:
 Add parameter to hook interface functions

Bugfix:
 Retrieve correct uid for new records
 Get correct page id for "pages" records
