Moved reusable stuff

Moved most of the reusable stuff to smt_euscreenxlelementsapp.