Change keyboard select to multitselect style
Split layer codes into seperate file