Moved bank functions to custom lib
Updated Imalas
Minor logic fix to banks