Added logging
Refacotred PopupMenu into new class
Added new positions to menu
Fix #8 Fix #6