Imported model, hook and admin from Acowtancy

Signed-off-by: Tom Wright <tom@inflatablecookie.com>