Move meta to database, fix sentence methods