Added options dialog

Still needs some work but main functionality is working