added multiple graph sources support, added gridster layout, small refactoring