Moved apc clear tasks to front area

Signed-off-by: Tom Wright <tom@inflatablecookie.com>
Add cache purge task

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