Added getPlatformsList function and functions to print out lists.