removed old library stuff, added space component