create Message class
implement Message class
change ArrayList<String> to ArrayList<Message>
add a permission for using the Internet