Externalize field of view algorithm

Put field of view module in the library folder
for issue #1