Removed unused components, added documentation