Add functions for standard application folder retrieval (imported from another branch. Yeah, at last)