Refactor Amplitude to have a singleton instance instead of class methods, some basic tests
Only register notification functions once and call enterForeground on initializeApiKey once
Reorganize methods
Version 2.2.3