bug fixes, added charts library, second fragment working