Added documentation + restructured