made separate header for fibs
added tokenizing functions, removed more externs

also small fixes here'n'there