adding in more security

Adding in more security measures, deWPing it, removing deprecated
functions, etc.