added preferences form and some views