TRUST FOR ADVISED PORTFOLIOS INVESTMENT ADVISORY AGREEMENT with AMI Asset Management Corporation