Removed all not-used libraries and code