Magnolia application logic separated from view and extend files --unfinished