Split any revenue with marketing but be sure to always retain control over your source code and development.