Standard website code with eve function file

Function file still needs a cleanup and migration to PDO