Implement SMS

(sorry for huge commit >_<)