bash and logging

Added bash library
Modified logging and shellfolder