move several prototypes and properties from .m to .h