added balloc, finalized basic frame_table functionality