Small syntax fix
moved setup code for Noty to a new file