removes and updates gems, removes platform-api stuff which is now upstream