Merge pull request #36 from KevinW1998/master

Implement some useful functions for layers, to prevent code duplication.
Merge pull request #37 from KevinW1998/master

Use new functions at layer
Source sorting and optimizing
OOps, dumplicate
Deleted trash
Languages templates updated
Merge pull request #51 from Wohlstand/master

Merge to Update 51