updated to atmosphere 2.1.5
change constructor to match the new atmosphere API