[Application] Removed global references
Minor updates and documentation to more files