Changed structure of Log to be more Secure

- Made it such that there are public methods called from the outside Log and that those public methods call private methods that can only be accessed by Log.
- Standardized some of the formatting in Log.m