Major code overhauling for better code base, also updating for the new bp simple front end post editor