Added basic xinput support, moved lib includes into seperate file