init functions.sql
moving functions back to schema.sql, switching tab to 4 spaces