attribute email and bcrypt updated to use promises
moved application and server to examples folder