Move manifest application logic to a separate file