Implemented lots of features

Added second fragment etc.