cleanup files not used
html escape function and minor changes
updated fin.js
code prettifying
added content

fin/api namespace