Initial commit with library and beacon detection