Rewrote header functions as inline, add toString to all objects

newline at EOF