Added passwords hook, and started on code clean up