Added cut function, some renaming and some inner documentation.