fixed detecting root folder

Created a special buttonfactory for Touch buttons (doing nothing yet)