added anmem_alloc_count
added anlock
impl alloc buffers
finished alloc.c impl
start at apge skip
test will only work on linux