made sample script returning common investments. Modified db tables by adding associations and investment detail table.