Functions rehash to abstract ACF

Decided to abstarct plugin reliant code into it's own file