Cleanup, remove unused libraries and tests, use spaces for tabs