Changed directory structure
Added preferences window