Half-implemented the lib

I will put all database requests in the shoutstream.php